e3415da48765d7956c131738cf165f1f3b4244c1,src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/push/PushMessaging.java,PushMessaging,unregister,#Context#UserAccount#,125
Before Change
unregIntent.putExtra(EXTRA_APPLICATION_PENDING_INTENT,
PendingIntent.getBroadcast(context, 0, new Intent(), 0));
unregIntent.putExtra(ACCOUNT_BUNDLE_KEY, account.toBundle());
context.startService(unregIntent);
}
}
After Change
PendingIntent.getBroadcast(context, 0, new Intent(), 0));
unregIntent.putExtra(ACCOUNT_BUNDLE_KEY, account.toBundle());
final ServiceInfo si = getServiceInfo(context, unregIntent);
if (si != null) {
final ComponentName component = new ComponentName(si.packageName, si.name);
unregIntent.setComponent(component);
context.startService(unregIntent);
}
}
}